SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd417a01b624ef49c33dd95c120c15105df07a7621490a87cbecafefb73511636' 
  AND token = '4r0cvWAsS1DbAgvBl2KxmJoICmzWqQya5wmk0k6x/Bk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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