SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '19f8409ac80ebb5dfeb471c14060330313c6ff6789387bfc6867a0c6a0771d5f' 
  AND token = 'QVkDstGElNo7Vy/c9e7R6AiCTxRZysjaLcwrlS+Cgwg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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