SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd38fe87de7f0a78ed95458a15d4cf60a0b9c38393d73fd6fba3816a20dfd1d51' 
  AND token = 'MaJQsTlbWE0SemAdIao7va9rd1ZK9KV2U9vsbGekNLY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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