SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ef2e05479921710a6801d20362e535941ed5d71d0997df5c6358b0047578f15' 
  AND token = 'WpXgPWLUahzEUeg6Q++rf7Ex/4rnvLSfKn9MSGmnTxw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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