SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '511e399fbe8f500a2e0443e90c6591fc58e825088c675f6cfceaaa883efbf8eb' 
  AND token = 'B/lh4vJjE9ihxlpJVh7VoaC2Bv5pN2jbYlLHmrpwDlQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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