SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8bc5361f336d5c388531bb105a5b3b3fc6c5255bb0677ebbe4fb195243d7ce5' 
  AND token = '/YwzkpsuN0UY6Gnsxvah3rWZ1bQY3/l3B3s/jqIYj7Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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