SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b6d2e39e8a376806096167205b6ae51277afc6d06f354c93515c497b0afbbaf3' 
  AND token = '5FfJNXQ2NGrzGCJKfQyUY5avydlzQchd2EFpmuMXnKM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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