SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '646074c1fbc8009ffde68fbd3a08b87b5c339f237153b6f16515dcdc86cb829f' 
  AND token = 'q7HnEistCPoyklVcJPDSO05mFxYAgVWmhmV1gxXYJ0c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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