SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0aac50f955d6b7d0ab6497ff5c9918b8567c6df09bb7ab0221b9e8bb84defcb6' 
  AND token = 'OhdkMOJdK6ZkdxXpCzMCoFyK+AMR9Q3/HKTYgxCTpB0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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