SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '402f3428ce871793436ad37e0cb9d2f0d62783718b15092f908f531260af2514' 
  AND token = 'SS8Q5ifArzdT7S9K7Bf92i8Ru6TlqYZal/VZxGmJdjs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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