SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5008d0b818307a26c77b0292223390e16aa40a5d02723d400e37d86e8b57aea9' 
  AND token = '5lnpvIXQMMGe/MbRlJ1Xjx8ILDXGtjY9v9HNOo0iqAQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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