SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c1aac52c73f55d433445511d37856a2230d6b1b553d4ce47175df0fcc7fa3e7' 
  AND token = 'NpoV/aazkHdukIIwqKMfl0ihUApYP8vp1vSNc3t2SqE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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