SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6bae2b6bed41ddcd67a7f082a8c294619a0faaae8987f63969ff57f33c224ba5' 
  AND token = 'CwohQUqMTtLpFe6V1SjuRxBNDDxids4msOBwKrSxmao=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}