SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6c15ab0fae8c796fcade49519d90f9a460166d09f8197770d3417486a94a98b' 
  AND token = 'u8NDCvORVb5G/kCSEAbJyPvoZVUB/qDGzwPRR1CcwWw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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