SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '458f73b81a98c1a357a462d6c37687926c2cf218998db3853e2dd532600f0f60' 
  AND token = 'ulOu23dWmTP46xngwbxFdNnRVoHQSJU1141ivHVfMJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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