SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2fe3afa0c4a007c9a0fe10cf5e253bb1e98c9c9980f2ca8f5c02504192711538' 
  AND token = 'iQ9UXZ+38z+30D/CxWha/oaUdsdFoweCPW/I7gsyUpM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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